.fl{
    float: left;
}
.fr{
    float: right;
}
.mr35 {
    margin-right: 35px;
}
b{
    font-weight: bold;
}
body{
    background: #f5f5f5;
    min-width: 1280px;
    font: 14px/30px Microsoft YaHei;
    line-height: 30px;
}
.ico-center{
    background:url(../images/jc_ico_center.png) no-repeat;
}
.gray {
    color: #999;
}
.red {
    color: #e32f2f;
}
.yellow {
    color: #f3bf19;
}
@mixin center-none {
    .center-none {
        margin: 10px auto 20px;
        height: 300px;
        border: 1px solid #eee;
        >.ico-none {
            display: block;
            margin: 50px auto 0;
            width: 171px;
            height: 163px;
            background: url(../images/jc_order-none.png) no-repeat;
        }
        >.none-tip {
            margin-top: 20px;
            font-size: 18px;
            color: #666;
            text-align: center;
        }
    }
}



section{
    width: 1280px;
    margin: 56px auto 0;
    position: relative;
    padding: 32px 0 50px 0;
    >.center-main {
        margin: 0 auto;
        width: 100%;
        height: auto;
        >.center-leftbar {
            width: 178px;
            height: auto;
            border: 1px solid #eee;
            background: #fff;
            text-align: center;
            font-size: 15px;
            color: #666;
            >p.cleftbar-tit {
                height: 44px;
                background: #eee;
                line-height: 44px;
                color: #333;
                cursor: default;
            }
            >ul.cleftbar-ul {
                margin: 0 auto;
                width: 138px;
                height: auto;
                >li {
                    height: 43px;
                    line-height: 43px;
                    border-bottom: 1px solid #eee;
                    position: relative;
                    >a {
                        display: block;
                        width: 100%;
                        color: #666;
                    }
                }
                >li.current a {
                    color: #f3bf19;
                }
            }
        }
    }
    .center-cont{
        margin-left: 20px;
        padding: 40px;
        width: 998px;
        background: #fff;
        border: solid 1px #eee;
        
        //头部
        > .ct-tit {
            /**头部**/
            height: 60px;
            font-size: 24px;
            color: #333;
            font-weight: bold;
            h2, .tit-fb {
                color: #333;
                font-weight: bold;
                font-size: 24px;
            }
            .ct-subtit {
                padding-left: 5px;
                font-size: 14px;
                color: #999;
                font-weight: normal;
            }
        }

        //下拉菜单
        .sorting-filter {
            /**下拉菜单**/
            width: 160px;
            height: auto;
            position: relative;
            z-index: 10;
            font-weight: normal;
            >.sfbox{
                width: 158px;
                height: 36px;
                line-height: 36px;
                border: 1px solid #eee;
                font-size: 15px;
                color: #333;
                text-align: left;
                text-indent: 10px;
                cursor: pointer;
                >.ico-sarr {
                    position: absolute;
                    top: 16px;
                    right: 15px;
                    display: block;
                    width: 10px;
                    height: 5px;
                    background-position: -619px -275px;
                }
            }
            >.sortinglist {
                position: absolute;
                top: 37px;
                left: 0px;
                max-height: 252px;
                height: auto;
                overflow: hidden;
                overflow-y: auto;
                width: 158px;
                border: 1px solid #eee;
                font-size: 14px;
                z-index: 100;
                background: #fff;
                display: none;
                > li {
                    width: 158px;
                    height: 36px;
                    line-height: 36px;
                    text-align: left;
                    color: #333;
                    cursor: pointer;
                    text-indent: 10px;
                }
            }
        }
        
        //我的订单
        > .ct-order {
/**我的订单**/
            width: 100%;
            height: auto;
            >.ct-orderhead {
                width: 100%;
                height: 43px;
                border-bottom: 1px solid #eee;
                font-size: 14px;
                >.ct-ordertab {
                    width: auto;
                    > li {
                        float: left;
                        line-height: 30px;
                        height: 41px;
                        padding: 0 20px;
                        font-size: 16px;
                        color: #333;
                        position: relative;
                        cursor: pointer;
                        border-bottom: 2px solid #fff;
                        .ico-point {
                            position: absolute;
                            top: -4px;
                            right: 2px;
                            display: block;
                            padding: 2px 5px 4px;
                            background: #f3bf19;
                            border-radius: 30px;
                            text-align: center;
                            line-height: 12px;
                            color: #333;
                            font-size: 12px;
                            display: none;
                        }
                    }
                    > li.current {
                        border-bottom-color: #f3bf19;
                        color: #f3bf19;
                    }
                }
                > .order-ipt {
                    margin: 0 auto 15px;
                    width: 248px;
                    height: 34px;
                    border: 1px solid #eee;
                    position: relative;
                    overflow: hidden;
                    > .order-input {
                        width: 188px;
                        background: #fff;
                        border: none;
                        padding-left: 4px;
                        height: 34px;
                        line-height: 34px;
                        outline: none;
                        vertical-align: middle;

                    }
                    > .order-search {
                        position: absolute;
                        top: 0;
                        right: 0;
                        z-index: 1;
                        width: 55px;
                        height: 34px;
                        background: #f6f6f6;
                        text-align: center;
                        color: #fefefe;
                        line-height: 40px;
                        border-left: 1px solid #eee;
                        .ico-search {
                            margin: 8px auto;
                            display: block;
                            width: 18px;
                            height: 18px;
                            background-position: -375px -305px;
                            display: block;
                        }
                    }
                }
            }
            > .order-tabl {
                width: 100%;
                height: auto;
                table-layout: fixed;
                @include center-none()
            }
        }

        //我的地址
        #dz {
            @include center-none();
        }
        .addr-head {
            /**我的地址**/
            width: 100%;
            height: 40px;
            line-height: 30px;
            font-size: 16px;
            color: #333;
            > .btn-addaddr {
                font-size: 14px;
                color: #70abed;
            }
        }
        .addr-list {
            width: 998px;
            height: auto;
            border: 1px solid #eee;
            border-bottom: none;
             li {
                width: 100%;
                height: 99px;
                border-bottom: 1px solid #eee;
                text-align: center;
                font-size: 14px;
                color: #333;
                > span {
                    display: table-cell;
                    height: 99px;
                    line-height: 99px;
                    display: block;
                    float: left;
                }
                .addrlist-name {
                    width: 150px;
                }
                .addrlist-addr {
                    width: 325px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
                .addrlist-tel {
                    width: 180px;
                }
                .addrlist-action {
                    width: 165px;
                    a {
                        color: #70abed;
                        padding-right: 5px;
                    }
                    a.btn-del {
                        padding-right: 0;
                        padding-left: 8px;
                        height: 14px;
                        line-height: 14px;
                        display: inline-block;
                        // border-left: 2px solid #70abed;
                    }
                }
                .addrlist-default {
                    width: 178px;
                    .addrlist-link {
                        color: #70abed;
                    }
                }
            }
            li.addrlist-head {
                height: 39px;
                background: #eee;
                overflow: hidden;
                > span {
                    line-height: 39px;
                    color: #888;
                }
            }
        }
        // 新增收货地址
        .ct-addrinfo {
            margin: 25px 0 0 4px;
            >.addr-tit {
                text-align: left;
                line-height: 16px;
                font-size: 16px;
                color: #333;
            }
            >.ct-userform {
                margin-top: 30px;
                .ct-useritem {
                    margin-bottom: 15px;
                    height: 40px;
                    line-height: 40px;
                    font-size: 14px;
                    color: #333;
                    .uitem-label {
                        width: 95px;
                        text-align: right;
                    }
                    .uitem-ipt {
                        width: 238px;
                        .uitem-input {
                            width: 234px;
                        }
                        .error_input {
                            border: 1px solid red;
                        }
                    }
                    .uitem-sel{
                        margin-right: 10px;

                        width: 198px;
                        height: 38px;
                        line-height: 38px;
                        cursor: pointer;
                        position: relative;
                        z-index: 1;
                        border: 1px solid #eee;
                        .uitem-seled {
                            display: block;
                            width: 174px;
                            text-align: left;
                            overflow: hidden;
                            white-space: nowrap;
                            padding-left: 4px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                        .uitem-botarr {
                            position: absolute;
                            top: 16px;
                            right: 9px;
                            width: 10px;
                            height: 5px;
                            background-position: -619px -275px;
                            display: block;
                        }
                        .uitem-downlist {
                            position: absolute;
                            top: 38px;
                            left: -1px;
                            width: 198px;
                            height: 200px;
                            background: #fff;
                            border: 1px solid #eee;
                            z-index: 10;
                            display: none;
                            overflow: hidden scroll;
                        }
                    }
                    // .zd3 {
                    //     z-index: 3;
                    // }
                }
                >.ct-areaitem {
                    height: 78px;
                    .uitem-areabox {
                        margin-right: 10px;
                        width: 618px;
                        height: 76px;
                        line-height: 38px;
                        border: 1px solid #eee;
                        overflow: hidden;
                        >.uitem-area {
                            width: 614px;
                            background: #fff;
                            border: none;
                            resize: none;
                            padding-left: 4px;
                            height: 76px;
                            line-height: 25px;
                            outline: none;
                            vertical-align: middle;
                        }
                    }
                }
            }
            .uitem-actbox {
                margin-left: 130px;
                margin: 30px 0 0 85px;
                .btn-uitem-save {
                    display: block;
                    width: 180px;
                    height: 48px;
                    line-height: 48px;
                    text-align: center;
                    background: #ffc933;
                    color: #333;
                    font-size: 16px;
                    -webkit-transition: 0.2s all;
                    transition: 0.2s all;
                }
            }
        }

        // 我的收藏
        .collect-list {
            /**我的收藏**/
            margin-left: -10px;
            width: 1020px;
            height: auto;
            .collect-none {
                padding-top: 190px;
                margin: 100px auto 400px;
                font-size: 24px;
                color: #666;
                background: url(../images/jc_collect-none.png) no-repeat top;
                text-align: center;
            }
            li {
                margin: 0 10px 20px;
                float: left;
                width: 233px;
                height: 308px;
                border: 1px solid #eee;
                position: relative;
                font-size: 14px;
                -webkit-transition: 0.2s all;
                transition: 0.2s all;
                // hover
                .collect-action {
                    position: absolute;
                    top: 185px;
                    left: 0;
                    width: 100%;
                    height: 40px;
                    z-index: 2;
                    display: none;
                    .collect-actzzc {
                        width: 100%;
                        height: 40px;
                        background: #f3bf19;
                        opacity: 0.5;
                    }
                    .btn-cancel {
                        position: absolute;
                        top: 0;
                        left: 0;
                        z-index: 3;
                        width: 100%;
                        text-align: center;
                        line-height: 40px;
                        color: #fff;
                    } 
                }
                &:hover .collect-action{
                    display: block;
                    .collect-actzzc {
                        opacity: 0.7; 
                    }
                }
                // 商品图
                .colist-goodimg {
                    display: block;
                    width: 233px;
                    height: 225px;
                    overflow: hidden;
                    img {
                        display: block;
                        width: 233px;
                        height: 225px;
                    }
                }
                // 商品名
                .colist-name {
                    padding: 3px 10px 0;
                    height: 42px;
                    line-height: 20px;
                    color: #666;
                }
                // 商品价格
                .colist-pri {
                    padding: 5px 10px 0;
                    line-height: 20px;
                    span {
                        display: block;
                        margin-right: 10px;
                    }
                }
                .colist-newpri {
                    font-size: 18px;
                    color: #f3bf19;
                }
            }
        }

        // 个人中心
        .ct-userinfo {
            /**个人中心**/
            margin: 8px 0 0 54px;
            
            .ct-useritem{
                .uitem-info,.uitem-radio {
                    height: 40px;
                }
                .btn-uitem-act {
                    font-size: 16px;
                    color: #70abed;
                }
                
            }
        }

        //领取中心
        .tb-title {
            /**领取中心**/
            height: 44px;
            line-height: 44px;
            background: #eee;
            font-size: 14px;
            color: #888;
            text-align: center;
            .wt01 {
                width: 345px;
            }
            .wt02 {
                width: 320px;
            }
            .wt03 {
                width: 115px;
            }
            .wt04 {
                width: 216px;
            }
        }

        // 订阅中心
        .new-subsbox {
            margin-bottom: 13px;
            border-bottom: 1px dashed #eee;
        }
        .subsbox {
            height: 78px;
            .subsbox-tit {
                line-height: 38px;
                font-size: 18px;
                color: #333;
            }
            .subsbox-tip {
                font-size: 14px;
                color: #999;
                line-height: 22px;
            }
            .btn-gray {
                background: #ccc;
                cursor: default;
            }
            .btn-subs {
                margin-top: 18px;
                display: block;
                width: 100px;
                height: 32px;
                line-height: 32px;
                color: #333;
                text-align: center;
                transition: 1s all;
                &:hover{
                    filter: brightness(1.1);
                }
            }
            // .ce-btn {
            //     background: #f3bf19;
            //     display: block;
            //     color: #333;
            //     text-align: center;
            // }
        }
        .ct-head {
            margin-bottom: 20px;
            width: 100%;
            height: 48px;
            line-height: 48px;
            font-size: 16px;
            color: #333;
            border-bottom: 1px solid #eee;
        }
        .ct-collect {
            width: 100%;
            height: auto;
            @include center-none();
            .center-none{
                border: 0;
            }
        }

        // 订阅中心
        .notice_box {
            /**订阅中心**/
            border: 1px solid #eee;
            .notice_bt {
                height: 35px;
                border-bottom: 1px solid #eee;
                padding: 0 17px 0 16px;
                background: #f8f8f8;
                color: #333;
                line-height: 35px;
            }
            ul {
                padding: 0 16px;
                margin-top: -1px;
                li {
                    height: 48px;
                    line-height: 48px;
                    border-top: 1px solid #eee;
                    a {
                        height: 48px;
                        display: block;
                        span {
                            float: left;
                            color: #666;
                            width: 585px;
                            height: 48px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                        em {
                            color: #999;
                            float: right;
                        }
                    }
                }
            }
        }

        // 翻页
        >.pro-page {
            /**分页**/ 
            height: 40px;
            padding: 50px 0 20px;
            line-height: 38px;
            a {
                height: 38px;
                background: #fff;
                border: 1px solid #eee;
                padding: 0 14px;
                color: #333;
                .ic10, .ic11 {
                    margin: 9px auto;
                    display: block;
                    width: 10px;
                    height: 18px;
                    background: url(../images/jc_ico_center.png) no-repeat;
                }
                .ic10 {
                    background-position: -411px -345px;
                }
                .ic11 {
                    background-position: -429px -345px;
                }
            }
            .pro-page-turn>a {
                float: left;
                margin-left: 10px;
                width: 40px;
                padding: 0;
            }
            .pro-page-ye>a {
                float: left;
                margin-right: 10px;
                &:hover{
                    background: #f3bf19;
                    border-color: #f3bf19;
                }
            }
            a.on {
                background: #f3bf19;
                border-color: #f3bf19;
            }
        }
        >.com-tipbox {
            margin-bottom: 10px;
            width: 996px;
            height: 40px;
            line-height: 40px;
            background: #fffcf3;
            border: 1px solid #eee;
            font-size: 14px;
            color: #aaa289;
            >.i-tip {
                margin: 11px 12px 0 12px;
                display: block;
                width: 18px;
                height: 18px;
                background-position: -227px -343px;
            }
        }
        .ct-useritem{
            margin-bottom: 15px;
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            color: #333;
            .uitem-label {
                margin-right: 35px;
                width: 50px;
                display: block;
                text-indent: 12px;
            }
            .uitem-ipt {
                margin-right: 10px;
                width: 198px;
                height: 38px;
                line-height: 38px;
                border: 1px solid #eee;
                overflow: hidden;
                .uitem-input {
                    width: 194px;
                    background: #fff;
                    border: none;
                    padding-left: 4px;
                    height: 38px;
                    line-height: 38px;
                    outline: none;
                    vertical-align: middle;
                }
            }
            .uitem-radiobox {
                margin-right: 37px;
                i {
                    margin-right: 10px;
                    display: inline-block;
                    vertical-align: middle;
                    width: 20px;
                    height: 20px;
                    background-position: -305px -305px;
                    cursor: pointer;
                }
                .ico-checked {
                    background-position: -593px -251px;
                }
            }
            .uitem-sel {
                margin-right: 10px;
                width: 198px;
                height: 38px;
                line-height: 38px;
                cursor: pointer;
                position: relative;
                z-index: 1;
                border: 1px solid #eee;
                .uitem-seled {
                    display: block;
                    width: 174px;
                    text-align: left;
                    overflow: hidden;
                    white-space: nowrap;
                    padding-left: 4px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                .uitem-botarr {
                    position: absolute;
                    top: 16px;
                    right: 9px;
                    width: 10px;
                    height: 5px;
                    background-position: -619px -275px;
                    display: block;
                }
                .uitem-downlist {
                    position: absolute;
                    top: 38px;
                    left: -1px;
                    width: 198px;
                    height: auto;
                    background: #fff;
                    border: 1px solid #eee;
                    z-index: 10;
                    display: none;
                    a {
                        color:#999;
                    }
                }
            }
            .uitem-year,.uitem-year .uitem-seled,.uitem-year .uitem-downlist {
                width: 118px;
            }
            .uitem-year .uitem-downlist li {
                width: 114px;
            }
            .uitem-ylabel {
                padding-right: 10px;
            }
        } 
        // 保存按钮
        .uitem-actbox {
            margin: 30px 0 0 85px;
            .btn-uitem-save {
                display: block;
                width: 180px;
                height: 48px;
                line-height: 48px;
                text-align: center;
                background: #ffc933;
                color: #333;
                font-size: 16px;
                -webkit-transition: 0.2s all;
                transition: 0.2s all;
            }
        }
        
    }
}